package com.example.ruanshe3.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@lombok.Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("数据库字段")
public class user {
    @ApiModelProperty(value = "用户ID", required = true, example = "1")
    private int userid;

    @ApiModelProperty(value = "用户名", required = true, example = "张三")
    private String username;

    @ApiModelProperty(value = "密码", required = true, example = "123456")
    private String password;

    @ApiModelProperty(value = "手机号", required = true, example = "17660526382")
    private String phone;

}
